
$(document).ready(function() {
	initTable();
});


var initTable =function(){
	var table = new Table();
	//表格加载的字段
    var cloumns = [
		    {'data': 'nick_name'},
		    {'data': 'bill_type','render':function(data){if(data==1){return "进账";}else if(data==2){return "出账";}else if(data==3){return "冻结";} return "类型有误";}},
		    {'data': 'amount_money'},
		    {'data': 'bill_describes'},
		  ];
	//设置URL和加载的字段
    table.setting(basePath+"/bill/getBillList","",cloumns);
	//调用表格分页
    table.tablePage();
}


